package at.fhj.mobsecdev.cookit.webrequests;

/**
 * Contains all relevant web service URLs and other meta data
 */
public final class WebServiceUrls {
	public final static String BASE_URL = "http://cookit.ddns.net:65431/CookIt/";
	public final static String REST_URL = BASE_URL + "rest/";
	
	public final static String VIEW_BY_DATE_URL = REST_URL + "view/date/%s";
	public final static String VIEW_BY_OWNER_URL = REST_URL + "view/owner/%s/%s";
	public final static String SEARCH_BY_NAME = REST_URL + "view/search/%s/%s";
	public final static String VIEW_ROTD = REST_URL + "view/rotd";
	public final static String UPLOAD_RECIPE = "upload";
	public final static String GET_TIMESTAMP = REST_URL + "timestamp";
	public final static String VALIDATE_LOGIN = "login";
	public final static String REGISTRATION = "registration";
	
	public final static String IMAGE_URL = "http://cookit.ddns.net:80/CookIt/resources/photos/";
	public final static String THUMBNAIL_PREFIX = "t_";
	
	/* Number of recipes that are delivered by the web service for one call */
	public final static int RECIPES_PER_PAGE = 20;
}
